//签约

import { httpDelete, httpGet, httpPost, httpPut } from "../utils/http"



// 获取一个签约
export const findSignApi = (data) => {
    return httpGet('/signs/detail', data)
}

// 查询签约
export const searchSignApi = (data) => {
    return httpPost('/signs/search', data)
}

// 添加签约
export const addSignApi = (data) => {
    return httpPost('/signs/add', data)
}

// // 删除签约
// export const deleteSignApi = (data) => {
//     return httpDelete('/signs/fullDetail', data)
// }


// 修改签约
export const updateSignApi = (data) => {
    return httpPut('/signs/update', data)
}
// 获取一个完整的签约的详情
export const getSignByIdApi = (data) => {
    return httpGet('/signs/fullDetail', data)
}

